package com.ssm.zy.pojo.vo;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 柳艾迪~
 * @version 1.0
 */
@Component
@Data
public class CommentVo implements Serializable {//评论封装类
    private static final long serialVersionUID = -9084332445284489553L;

    private int commentId;
    private int userId;//评论者Id
    private String name;//评论者名字
    private String photo;//评论者头像
    private int postId;//帖子Id
    private String commentContent;//评论内容
    private Boolean isPraise;//是否点赞,true为已经被用户点过赞
    private int commentPraise;//评论获赞量
    private Date commentTime;//评论时间
    private List<CommentVo> commentVoList;
}
